home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
knowhow4
/
nret.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-10
|
217b
|
15 lines
#include "nret.h"
int nRet(char* string)
{
char* str = string;
int j = 0;
for(int i = 0; str[i]; i++)
{
if(str[i] == '\n')
j++;
}
return j;
}
///////////////////////////